#include "kbc.h"
#include "video.h"
#include "GQueue.h"

/** @defgroup mouse Mouse
 * @{
 *
 * Processing/Parsing mouse actions
 */

Byte byte1, byte2, byte3;	//3 Bytes of the mouse
int dx, dy;					//mouse increment to the coordinates
int x_over, y_over;			//overflow in x and y
int left_b, mid_b, right_b; //mouse buttons
int x, y;					//mouse coordinates
int oldColor[3];			//stores the color of of the last position of the mouse

GQueue* mouse_queue;
volatile Byte* arr;
char* base;

typedef struct
{
	Byte b1, b2, b3;
	
} MouseData; //struct to store the 3 Bytes of the mouse

/**
*	parses the array with the mouse bytes
*/
void parse_mouse_event();


/**
* controls the movement and shows it
*/
void process_mouse_event();


